//
//  SSFirstPageDiscountTitleView.h
//  Travel_World
//
//  Created by dlios on 15/10/16.
//  Copyright © 2015年 TLS. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef NS_ENUM(NSUInteger, SSTitleButton) {
    
    style,
    departure,
    poi,
    times_drange,
    
};

@protocol SSFirstPageDiscountTitleViewDelegate <NSObject>

- (void)createData:(NSString *)url;
- (NSString *)urlForm;

@end


@interface SSFirstPageDiscountTitleView : UIView

@property (nonatomic, strong) UITableView *mainTableView;
@property (nonatomic, strong) UITableView *secondaryView;
@property (nonatomic, assign) id<SSFirstPageDiscountTitleViewDelegate>delegate;

- (instancetype)initWithFrame:(CGRect)frame delegate:(id<SSFirstPageDiscountTitleViewDelegate>)SSFirstPageDiscountTitleViewDelegate;

@end
